package proxy.d.cglib;

import org.junit.jupiter.api.Test;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/11/27  20:14
 */
public class Client {
    @Test
    public void test(){
    //1.获取代理对象
        RealBuyer buyer = IntermediaryCglibProxyFactory.create(RealBuyer.class);
    //2.调用方法
        String result = buyer.look();
        System.out.println(result);
    }
}
